# 字符串的驻留机机制
# a = 'Python'
# b = "Python"
# c = '''Python'''
# print(a, id(a))
# print(b, id(b))
# print(c, id(c))

# 字符串穿的长度为0或1的时候，会驻留
s1 = '1'
s2 = '1'
print(s1 is s2)
# 符合标识符的字符串(字母，数字，下划线)
t1 = '123%'
t2 = '123%'
print(t1 is t2)
